<?php
$host = @$_POST['host'] ;
$username = @$_POST['username'] ;
$password = @$_POST['password'] ;
$databaseName  = @$_POST['databaseName'] ;
$Year = @$_POST['year'] ;

$matk = @$_POST['matk'] ;

$link = mysqli_connect($host,$username,$password,$databaseName) or die("Error " . mysqli_error($link));

if (!mysqli_set_charset($link, "utf8")) {
} else {
}
$mysql = "DELETE FROM SDTK". $Year. " WHERE matk='". $matk ."' " ;
$succ = mysqli_query($link, $mysql);
if ($succ == false)
{
	echo "1";
	return;
}

mysqli_close($link);


?> 



